<template>

    <swiper class="iswiper">
      <swiperItem v-for="(item,index) in banner" :key="index">
          <img :src="item"></img>
      </swiperItem>
    </swiper>

</template>

<script>
  import swiper from 'components/common/swiper/swiper.vue'
  import swiperItem from 'components/common/swiper/swiper-item.vue'
  export default {
    props:{
      banner:{
        type:Array,
        default(){
          return []
        }
      }
    },
    data(){
      return {}
    },
    components:{
      swiper,
      swiperItem
    }
  }
</script>

<style scoped>
  .iswiper{
    height:350px;
  }
</style>
